.home {
  width: 100%;
  height: 100%;
  /* 开启弹性布局 */
  display: flex;
  flex-direction: column;
  /* 头部 */
  /* 内容区 */
  /* 尾部区 */
}
.home > .top {
  height: 50px;
  background-color: #42A5F5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home > .top > input {
  height: 50px;
  padding-left: 10px;
  width: 80%;
  height: 60%;
  border-radius: 10px;
  border: none;
}
.home > .content {
  overflow-y: auto;
  flex: 1;
}
.home > .content > .swiper {
  width: 100%;
  height: 180px;
}
.home > .content > h2 {
  text-align: center;
  margin-top: 20px;
  font-size: 20px;
  color: #42A5F5;
}
.home > .content > .subject {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding-top: 10px;
  background-color: #fff;
}
.home > .content > .subject > p {
  width: 23%;
  height: 84%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  text-align: center;
}
.home > .content > .student {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.home > .content > .student > div {
  width: 45%;
  background-color: #fff;
  margin-top: 10px;
  border-radius: 5px;
}
.home > .content > .student > div > p {
  padding-left: 5px;
}
.home > .content > .student::after {
  content: "";
  display: block;
  width: 45%;
  height: 0;
}
.home > .footer {
  display: flex;
  justify-content: space-between;
  padding: 5px 20px;
  color: #42A5F5;
  border-top: 2px solid #ccc;
  margin-top: 5px;
  height: 35px;
}
.home > .footer > div p {
  width: 30px;
  height: 30px;
}
